package com.xbongbong.pro.payplansheet.pojo.dto.batch;

import com.xbongbong.paas.pojo.AddMuchFieldPojo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.user.pojo.ReturnUserAndDepartmentPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量更新
 * @author 吴峰
 * @version v1.0
 * @date 2019/2/13 19:39
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PayPlanSheetInsertBatchByPurchaseDTO extends BaseDTO {
    private static final long serialVersionUID = -7142907932141719093L;

    /**
     * 应用id
     */
    @NotNull(message = "应用id不能为空")
    private Long appId;

    /**
     * 菜单id
     */
    private Long menuId;

    /**
     * 表单id
     */
    private Long formId;

    @NotNull(message = "saasMark不能为空")
    private Integer saasMark;


    private List<AddMuchFieldPojo> dataList;

    /**
     * 负责人
     */
    private List<ReturnUserAndDepartmentPojo> ownerId;
    /**
     * 协同人
     */
    private List<ReturnUserAndDepartmentPojo> coUserId;

}
